define(['TimeInput'],function(TimeInput){
	//文本框提示
	var LessonDurationSelector=function(initConfig){
		var selector=this;
		TimeInput.call(selector,{
			hourText:'小时',
			hourNumberOption:{
				min:0,
				max:24,
				interval:1
			},
			minuteText:'分钟'
		});
		selector.setValue=function(v){
			selector.value(
				Math.floor(v/(1000*60*60)),
				Math.floor((v%(1000*60*60))/(1000*60))
			)
		}
	}
	window.LessonDurationSelector = LessonDurationSelector;
	return LessonDurationSelector;
})
